import Vue from 'vue';
import Vuex from 'vuex';
import { Admin } from '@/api/';

import createPersistedState from "vuex-persistedstate";
import menu from './modules/menu.js';
import account from './modules/account.js';


Vue.use(Vuex)

export default new Vuex.Store({
	state: {},
	mutations: {},
	actions: {},
	getters: {},
	modules: {
		menu,
		account
	},
	
	plugins: [createPersistedState()],
})
